

import request from '@/utils/request'
export function getSlides(params) {
    return request({
        url: '/portalProject/ajax-portalproject-getSlides',
        method: 'get',
        params
    })
}

export function getCourse(params) {
    return request({
        url: '/portalProject/ajax-course-getCourse',
        method: 'get',
        params
    })
}

export function proProfile(params) {
    return request({
        url: '/portalProject/ajax-portalproject-proProfile',
        method: 'get',
        params
    })
}


export function getUserInfo(params) {
    return request({
        url: '/prod-api/website/projectGroupInfo/detail/info',
        method: 'get',
        params
    })
}

export function getAllCount(params) {
    return request({
        url: '/portalProject/ajax-portalproject-Stat',
        method: 'get',
        params
    })
}

export function getNewsList(params) {
    return request({
        url: '/prod-api/website/project/news/list',
        method: 'get',
        params
    })
}


export function knowledgelist(data) {
    return request({
        url: '/prod-api/graph/knowledge/list',
        method: 'post',
        data
    })
}

export function webList(data) {
    return request({
        url: '/prod-api/website/resource/major/webList',
        method: 'get',
        params: data
    })
}


export function getTrain(data) {
    return request({
        url: '/portalProject/ajax-course-getTrain',
        method: 'get',
        params: data
    })
}
export function GetMediaType(data) {
    return request({
        url: '/portalProject/ajax-material-GetMediaType',
        method: 'get',
        params: data
    })
}

export function getApplication(data) {
    return request({
        url: '/portalProject/ajax-material-getApplication',
        method: 'get',
        params: data
    })
}


export function material(data) {
    return request({
        url: '/portalProject/ajax-newmaterial-material',
        method: 'get',
        params: data
    })
}


export function getNewsType(data) {
    return request({
        url: '/portalProject/ajax-portalproject-getNewsType',
        method: 'get',
        params: data
    })
}


export function getNewsListOld(data) {
    return request({
        url: '/portalProject/ajax-portalproject-getNewsList',
        method: 'get',
        params: data
    })
}


export function newsdetail(data) {
    return request({
        url: '/prod-api/website/project/news/detail',
        method: 'get',
        params: data
    })
}

